package day03;

public class IfDemo {
    public static void main(String[] args) {
    /*
        double money =650.8;
        if (money>=500){
            money *=0.8;
        }
        System.out.println(money);

     */

       /* double price = 400.6;
        if (price>=500){
            price *=0.8;
        }
        System.out.println("你得最终金额为："+price);



        int score=99;
        if (score>=60 && score<=100){
            System.out.println("你的成绩是："+score+"成绩优秀");
        }
        */
       /*
        double money=250.25;
        if (money>=200){
            money *=0.9;
            System.out.println(money);//225.225
        }

        int score =66;
        if (score>=60 &&score<=100){
            System.out.println("你的成绩是："+score+"成绩合格");
        }
        int score1 =25;
        if (score1>=60 &&score1<=100){
            //System.out.println("你的成绩是："+score1+"成绩合格");
        }
        System.out.println("你的成绩是"+score1);

        */

    }
}
